#define _CRT_SECURE_NO_WARNINGS 1


#include<stdio.h>
int main()
{
	int x = 0;
	int y = 0;
	int z = 0;
	int t = 0;
	scanf("%d %d %d", &x,& y, & z);
	if (x > y)
		t = y, y = x, x = t;
	if (x > z)
		t = z, z = x, x = t;
	if (y > z)
		t = z, z = y, y = t;
		

	printf("%d %d %d\n", x,y,z);






	return 0;
}